<?php
$routerGroup = new \Phalcon\Mvc\Router\Group(['module' => 'uploads']);

$routerGroup -> setPrefix('/uploads');

$routerGroup -> add('(/?)', ['controller'=>'Index','action'=>'index']) -> setName('UploadsIndex::index');

//$routerGroup -> add('/:controller/:action/:params', ['controller' => 1, 'action' => 2, 'params' => 3])->setName('Backstage::all');

return $routerGroup;